import request from '@/api/request.js'
// 查询表单详情
export function getHomePage(params) {
    return request({
        url: 'wflow/sys/homePage',
        method: 'get',
        params: params,
    })
}

export function addHomePage(params) {
    return request({
        url: 'wflow/sys/homePage',
        method: 'post',
        data: params
    })
}

export function updateHomePage(params) {
    return request({
        url: 'wflow/sys/homePage',
        method: 'put',
        data: params
    })
}

export function deleteHomePage(uuid) {
    return request({
        url: 'wflow/sys/homePage/deleteData/' + uuid,
        method: 'post',
    })
}

export function releaseData(uuid) {
    return request({
        url: 'wflow/sys/releaseData/' + uuid,
        method: 'post'
    })
}

export default {
    getHomePage,
    addHomePage,
    updateHomePage,
    deleteHomePage,
    releaseData
}
